package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.mapper;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.FlowNodeReaderVo;
import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowNodeReader;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface FlowNodeReaderDAO {



    List<FlowNodeReaderVo> select(@Param("processInstanceId") String processInstanceId , @Param("nodeCode") String nodeCode);
    void insert(FlowNodeReaderVo fnr);
    void update(Integer id, String targetNodeCode);

    Integer readDoExist(@Param("handlerId") String handlerId,@Param("processInstanceId") String processInstanceId,@Param("nodeCode") String nodeCode);
}
